from django.db import models
class Message(models.Model):
    name=models.CharField(max_length=20,verbose_name='姓名')
    email=models.EmailField(verbose_name='邮箱')
    address=models.CharField(max_length=100,verbose_name='地址')
    message=models.TextField(verbose_name='留言信息')
    class Meta:
        verbose_name='留言信息'
        verbose_name_plural=verbose_name
        db_table='message'

# Create your models here.
